<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<s:form action="i18n">
		<!-- 这里的name是对应的I18NAction类里的userName，而key是对应的资源文件里的userName -->
		<s:textfield name="userName" key="userName"></s:textfield>
		<s:submit></s:submit>
		<s:actionmessage/>
	</s:form>
	<s:debug/>
</body>
</html>